package org.springblade.modules.notice.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author ysq
 * @Date 2024/11/28
 * @Description ID类型枚举
 */
@Getter
@AllArgsConstructor
public enum IdType {

    /**
     * 站内userId
     */
    USER_ID(1, "userId","userId"),
    /**
     * 手机号
     */
    PHONE(2, "phone","phone"),
    /**
     * 维保公众号openid
     */
    OPEN_ID(3, "openid","维保公众号openid"),

	/**
	 * 物业公众号openid
	 */
	ESTATE_OPEN_ID(4, "estateOpenid","物业公众号openid"),
    /**
     * 极光推送registrationId
     */
    RID(5, "registrationId","极光推送registrationId"),

    ;

    private final Integer code;

	private final String field;

    private final String desc;

}
